package com.sanpu.kxe.rxservice.interfaces;

import com.sanpu.kxe.rxservice.MetaBean;

import java.util.Map;

import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Description：会员模块
 * Created by 薛勇军 on 2018/7/30.
 */

public interface MemberService {

    /**
     * 会员等级列表
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/member/memberLevelList.html")
    Observable<MetaBean> memberLevelList(@FieldMap Map<String, String> param);

    /**
     * 会员升级广告栏
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/adcolumn/memberUpgrade.html")
    Observable<MetaBean> memberUpgrade(@FieldMap Map<String, String> param);

    /**
     * 会员等级详情
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/member/memberLevelDetail.html")
    Observable<MetaBean> memberLevelDetail(@FieldMap Map<String, String> param);

    /**
     * 会员充值方式
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/member/paymentDictinary.html")
    Observable<MetaBean> paymentDictinary(@FieldMap Map<String, String> param);

    /**
     * 余额升级会员
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/member/balanceUpgrade.html")
    Observable<MetaBean> balanceUpgrade(@FieldMap Map<String, String> param);

    /**
     * 获取会员充值信息列表
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/vip/findVipConfList.html")
    Observable<MetaBean> findVipConfList(@FieldMap Map<String, String> param);

    /**
     * 获取会员推广列表
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/income/myExtendList.html")
    Observable<MetaBean> getMemberSpreadList(@FieldMap Map<String, String> param);

    /**
     * 6.10.3充值会员方式列表
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/vip/upgradeVipTypeList.html")
    Observable<MetaBean> upgradeVipTypeList(@FieldMap Map<String, String> param);

    /**
     * 6.10.2余额充值会员
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/vip/balanceUpgradeVip.html")
    Observable<MetaBean> balanceUpgradeVip(@FieldMap Map<String, String> param);

    /**
     * 6.8.3我的用户列表
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/income/myUserList.html")
    Observable<MetaBean> myUserList(@FieldMap Map<String, String> param);

    /**
     * 6.8.4搜索用户
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/income/findUser.html")
    Observable<MetaBean> findUser(@FieldMap Map<String, String> param);

    /**
     * 6.9.4产品费率列表
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/vip/productRateList.html")
    Observable<MetaBean> productRateList(@FieldMap Map<String, String> param);

    /**
     * 我的团队人数
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/income/myTeamNumber.html")
    Observable<MetaBean> myTeamNumber(@FieldMap Map<String, String> param);

    /**
     * 6.8.10我的团队列表
     * @param param 请求参数
     * @return
     */
    @FormUrlEncoded()
    @POST("app/client/income/myTeamList.html")
    Observable<MetaBean> myTeamList(@FieldMap Map<String, String> param);

}
